// 引用vant组件库
import Vue from 'vue'

import {
  NavBar, Form, Field, Button, Tabbar, TabbarItem, Icon, Tab, Tabs, Grid, GridItem, Cell, CellGroup, List, PullRefresh, ActionSheet
  , Popup, Row, Col, Badge, Search, Image as VanImage, Divider, Loading, ShareSheet, Tag, Dialog, DatetimePicker, Lazyload
} from 'vant'

Vue.use(Lazyload, {
  preLoad: 0.8, // 屏幕高度的百分比预加载
  // 如果懒加载图片失败，使用该图片
  error: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F01545d58d24b61a801219c77a15519.png%401280w_1l_2o_100sh.png&refer=http%3A%2F%2Fimg.zcool.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1661938788&t=827d4ee6a0f2521b63d36772d834d8de'

})
Vue.use(DatetimePicker)
Vue.use(Dialog)
Vue.use(Tag)
Vue.use(ShareSheet)
Vue.use(Loading)
Vue.use(Divider)
Vue.use(VanImage)
Vue.use(Search)
Vue.use(Badge)
Vue.use(Col)
Vue.use(Row)
Vue.use(Popup)
Vue.use(ActionSheet)
Vue.use(PullRefresh)
Vue.use(List)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Form)
Vue.use(Field)
Vue.use(Button)
Vue.use(NavBar)
